<html>
<head>
	     <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
  <body>
    {% for greeting in greetings %}
      {% if greeting.author %}
        <b>{{ greeting.author.nickname }}</b> wrote:
      {% else %}
       An anonymous person wrote:
      {% endif %}
	  <blockquote>{{ greeting.first|escape }} {{ greeting.last|escape }} {{ greeting.age|escape }} {{ greeting.gender|escape }} {{ greeting.division|escape }} {{ greeting.date|escape }}</blockquote>
    {% endfor %}

    <form action="/signup" method="post">
      <div>first name</div>
      <div><input name="first"/></div>
      <div>last name</div>
      <div><input name="last"/></div>
      <div>age</div>
      <div><input name="age"/></div>
      <div>gender</div>
	  <div><select name="gender"><option value="M">M</option><option value="F">F</option></select></div>
      <div>division</div>
	  <div><select name="division"><option value="Open">Open</option><option value="Athena">Athena</option><option value="Clydesdale">Clydesdale</option></select></div>
      <div><input type="submit" value="Sign Up"></div>
    </form>

    <a href="{{ url }}">{{ url_linktext }}</a>

  </body>
</html>